package com.bestdreamer.ordered;

public class Run {

    public static void main(String[] args) {
        Object lock = new Object();
        OrderedThread a = new OrderedThread(lock, "A", 1);
        OrderedThread b = new OrderedThread(lock,"B",2);
        OrderedThread c = new OrderedThread(lock,"C",0);
        a.start();
        b.start();
        c.start();
    }
}
